home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000824-20010305
/
000038_news@columbia.edu _Sun Sep 24 12:08:43 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA25232
for <kermit.misc@cpunix.cc.columbia.edu>; Sun, 24 Sep 2000 12:08:43 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA28537
for <kermit.misc@watsun.cc.columbia.edu>; Sun, 24 Sep 2000 12:08:42 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id LAA01677
for kermit.misc@watsun.cc.columbia.edu; Sun, 24 Sep 2000 11:59:09 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@columbia.edu (Frank da Cruz)
Subject: Re: kermit/lynx co-ordination notes
Date: 24 Sep 2000 15:59:07 GMT
Organization: Columbia University
Message-ID: <8ql8cb$1kb$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <E13d2oS-0002KR-00@dxmcgyver>, Dallas E. Legan wrote:
: I'm posting this to comp.protocols.kermit.misc & oclug@oclug.org
: (Orange County Linux Users Group) to make public some
: tips for coordinating Kermit and Lynx, and maybe get some
: constructive feedback...
:
Great post, thanks! It would be good to see a lot more posts of this
nature. Once you get your questions cleared up, feel free to send it
in as a C-Kermit "case study" to join the others at:
http://www.columbia.edu/kermit/ckermit.html#studies
: 2) I frequently run Lynx from kermit using the C-Kermit 7 pty
: capability. Typically this is to automate login to web based email
: accounts. It could also be used to log the browsing session.
: Recently I ran into an instance where I was trying
: to pass a string with included blanks to lynx on its' startup:
:
: .......
: set network type pty
: ...
: set host lynx -parameter='some string' URL://somewhere.something
: ...
:
: and lynx interpreted this as
:
: set host lynx -parameter='some string' URL://somewhere.something
: **************** ******* ************************
:
Try using doublequotes instead of single quotes. Kermit execvp()'s the
program directly, and recognizes doublequotes (but not apostrophes) for
grouping. Obviously there's no way it can duplicate all the syntax rules
of every shell, so if you need anything more shell-like, your intermediate
shell approach is quite appropriate:
: set host { /bin/bash -c -
: " exec lynx -parameter='some string' URL://somewhere.something" }
:
: invoking bash just long enough to set up the argv/argc input,
: before it gets overlaid by Lynx.
- Frank